package com.binhai.springboot.post.dao;

import com.binhai.springboot.post.bean.PostBean;
import com.binhai.springboot.tree.TreeBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PostBeanDao {


    int insertSelective(PostBean record);


    List<PostBean> getAllData();

    void saveShouQuan(PostBean bean);

    String getShouQuan(PostBean bean);

    void deleteShouQuan(PostBean bean);

    List<TreeBean>  getAllPostTreeData();

    void update(PostBean bean);

    void delete(PostBean bean);

    List<PostBean> select(String name);
}